package zunyi09;

/**
 * 篮球运动员
 */
public class Basketball extends Athletes {
    public Basketball(String name, Integer age) {
        super(name, age);
    }

    public Basketball() {
    }

    @Override
    public void teach() {
        System.out.println("篮球运动员学习如何打篮球");
    }

    @Override
    public void eat() {
        System.out.println("以下是篮球球员：");
        System.out.println(name+"---"+age);
        System.out.println("篮球运动员吃肉类");
    }


}
